.PHONY:all
all: udp_client udp_server

udp_client:client.cc
	g++ -o $@ $^ -std=c++11
udp_server:server.cc
	g++ -o $@ $^ -std=c++11 -lpthread
.PHONY:clean
clean:
	rm -f udp_client udp_server